<?php

class Form_TagcategoryForm extends Form_Custom_General {

    public function init() {

        $prp_typename_id = $this->createElement('hidden', 'prp_typename_id')
                ->addFilters(array(
                    new Zend_Filter_StringTrim(),
                ))
                ->setAttribs(Array("size" => "60"));
        $this->addElement($prp_typename_id);

        $prp_typename_name = $this->createElement('text', 'prp_typename_name')
                ->setRequired(TRUE)
                ->addValidator('NotEmpty', true, array('messages' => array('isEmpty' => 'Please enter category')))
                ->addFilters(array(
                    new Zend_Filter_StringTrim()
                ))
                ->setAttribs(Array('class' => "form-control", "placeholder" => "Tag Category"));
        $this->addElement($prp_typename_name);
        
        
        $prp_typename_lang_id = $this->createElement('select', 'prp_typename_lang_id')
                ->setRequired(TRUE)
                ->addValidator('NotEmpty', true, array('messages' => array('isEmpty' => 'Please select language')))
                ->addFilters(array(
                    new Zend_Filter_StringTrim()
                ))
                ->setAttribs(Array('class' => "form-control select2", "placeholder" => ""));
        $this->addElement($prp_typename_lang_id);
        
      
    }

}